//
//  HotWordService.m
//  suRead
//
//  Created by 师爱华 on 17/3/2.
//  Copyright © 2017年 bao. All rights reserved.
//

#import "HotWordService.h"

@implementation HotWordService

+(void)presentController:(UIViewController *)controller
                delegate:(id <MyWordViewDelegate>)delegate
{
    HotWordViewController *hotwordVc = [[HotWordViewController alloc] init];
    hotwordVc.controlDelegate = delegate;
    
    //UIModalPresentationFullScreen;// 全屏
    //UIModalPresentationCustom
    [hotwordVc.view setAutoresizingMask:UIViewAutoresizingFlexibleWidth|      UIViewAutoresizingFlexibleHeight];
    hotwordVc.modalPresentationStyle = UIModalPresentationOverCurrentContext;
   
    [controller presentViewController:hotwordVc animated:YES completion:nil];
    
}

@end
